<?php if (!defined('THINK_PATH')) exit();?>
<!doctype html>
<html>
        <head>
                <meta charset="UTF-8">
                <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
                <title>系统后台 - 康和 - by thkCMS</title>
                <link href="/statics/css/admin_style.css" rel="stylesheet" />
                <link href="/statics/js/artDialog/skins/default.css" rel="stylesheet" />
        
<script type="text/javascript">
//全局变量
        var GV = {
                DIMAUB: "http://n.com/",
                JS_ROOT: "statics/js/",
        };
</script>
<script src="/statics/js/wind.js"></script>
<script src="/statics/js/jquery.js"></script>
</head>
<body class="J_scroll_fixed">
        <div class="wrap J_check_wrap">
                
<div class="nav">
        <ul class="cc">
                <?php $submenus = include './submenu.php'; $type = I("get.menutype",MODULE_NAME); ?>  
                <?php foreach($submenus[$type] as $r){ $class = ($r['action'] == ACTION_NAME) ? 'class="current"':""; ?>
                <li <?php echo ($class); ?>><a href="<?php echo U($r['url'],array('menuid'=>$_GET['menuid']));?>"><?php echo ($r["title"]); ?></a></li>
                <?php
 }?>

        </ul>
</div>
                <div class="h_a">搜索</div>
<div class="search_type cc mb10">
        <form action="" method="post">

                <div class="search_type cc ">

                        <span class='home_info'>关键词:</span>
                        <input type="text" class="input length_3" name="where[name]" value="<?php echo ($_POST['where']['name']); ?>" placeholder="请输入关键字...">
                        <span class='home_info'>状态:</span><label><input type="radio" name="where[status]" value="1" /> 显示</label> <label><input type="radio" name="where[status]" value="0" /> 隐藏 </label>
                        <span class='home_info'> 时间段:</span><select name="_selectType">
                                <option value='-1'>=请选择=</option>
                                <option value='0'>=创建时间=</option>
                                <option value='1'>=修改时间=</option>
                        </select>
                        <input type="text" name="_start"  class="input length_2 J_datetime">
                        <input type="text" name="_end"  class="input length_2 J_datetime">
                        <button class="btn">搜索</button>

                </div>
        </form>
</div>


<div class="table_list">
        <table width="100%" cellspacing="0">
                <thead>
                        <tr>
                                <td width="10"><input type="checkbox" class="J_check_all" data-direction="x" data-checklist="J_check_x"></td>
                                <td width="30"  align="center">ID</td>
                                <td>类别名称</td>
                                <td width="120">上一级</td>

                                <td width="80" align="center">状态</td>
                                <td width="120">创建时间</td>
                                <td width="120">修改时间</td>
                                <td width="120" align="right">管理操作</td>

                        </tr>
                </thead>
                <tbody>
                <?php $page = $this->get("pagee0d0eb5adcca47bee8fcc509f10e66ed");$_resule = $this->get('e0d0eb5adcca47bee8fcc509f10e66ed');if ($_resule): $key=0;foreach($_resule as $key=>$list):++$key;$mod = ($key % 2 );?><tr>
                                <td><input type="checkbox" class="J_check" data-yid="J_check_y" data-xid="J_check_x"  value="<?php echo ($list["cid"]); ?>" name="ids[]"></td>
                                <td align="center"><?php echo ($list["cid"]); ?></td>
                                <td><?php echo ($list["name"]); ?></td>
                                <td><?php echo ($list["position"]); ?></td>
                                <td align="center"><?php if(empty($list["status"])): ?>隐藏<?php else: ?>显示<?php endif; ?></td>
                        <td><?php echo (todate($list["input_time"])); ?></td>
                        <td><?php echo (todate($list["modified_time"])); ?></td>
                        <td align="right"><a href="/index.php?g=Contents&m=Position&a=public_item&posid=1">查看/修改信息</a> | <a href="javascript:confirmurl('/index.php?g=Contents&m=Position&a=delete&posid=1', '是否删除?')">删除</a></td>
                        </tr><?php endforeach; endif;?>
                </tbody>
        </table>
</div>
        </div>
        <script src="/statics/js/common.js?v"></script>
        <script type="text/javascript" src="/statics/js/content_addtop.js"></script>

</body>
</html>